package spring.DI;

/**
 * setter 注入：必须要 setter方法   <p>
 * 配置方式 <property name="innerClass" ref="innerClass"/>  <p>
 *
 * @author ME
 * @date 2021/5/22
 */
public class SetterDI {

    private InnerClass innerClass;

    public InnerClass getInnerClass() {
        return innerClass;
    }

    public void setInnerClass(InnerClass innerClass) {
        this.innerClass = innerClass;
    }

    public static class InnerClass {
    }

}
